<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .d1{
            width: 300px;
            height: 200px;
            border: 1px solid red;

            /* 图片路径 */
            /* border-image-source: url(./img/border.png); */
            /* 裁剪位置：对图片进行切割，分为四个方向， */
            /* border-image-slice: 26 26 26 26; */
            /* 边框宽度：一般大小设置为与裁剪后的边框图片相同,以便显示图片边框 */
            /* border-image-width: 26px; */
            /* 边框图像超出的量 */
            /* border-image-outset: 0; */
            /* 重复方式：平铺(repeat)、铺满(round)或拉伸(stretch) */
            /* border-image-repeat: round; */

            /* border-image: url(./img/border.png) 26 26 26 26/26px round; */
            border-image: url(./img/border.png) 26/26px round;
        }

    </style>
</head>
<body>
    <div class="d1"></div>
</body>
</html>